package com.wzweb.entity;

public class StudentInfos {
	private int studentInfoID;
	private int userID;
	private String studentName;
	private int gender;
	private String birthday;
	private String interests;
	private int qq;
	private String msn;
	private String email;
	private String academy;
	private String major;
	private User user =new User();
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public StudentInfos() {
		// TODO Auto-generated constructor stub
	}
	
	public StudentInfos(int studentInfoID, int userID, String studentName,
			int gender, String birthday, String interests, int qq,
			String msn, String email, String academy, String major) {
		super();
		this.studentInfoID = studentInfoID;
		this.userID = userID;
		this.studentName = studentName;
		this.gender = gender;
		this.birthday = birthday;
		this.interests = interests;
		this.qq = qq;
		this.msn = msn;
		this.email = email;
		this.academy = academy;
		this.major = major;
	}

	@Override
	public String toString() {
		return "Studentinfos [academy=" + academy + ", birthday=" + birthday
				+ ", email=" + email + ", gender=" + gender + ", interests="
				+ interests + ", major=" + major + ", msn=" + msn + ", qq="
				+ qq + ", studentInfoID=" + studentInfoID + ", studentName="
				+ studentName + ", userID=" + userID + "]";
	}

	public int getStudentInfoID() {
		return studentInfoID;
	}
	public void setStudentInfoID(int studentInfoID) {
		this.studentInfoID = studentInfoID;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getInterests() {
		return interests;
	}
	public void setInterests(String interests) {
		this.interests = interests;
	}
	public int getQq() {
		return qq;
	}
	public void setQq(int qq) {
		this.qq = qq;
	}
	public String getMsn() {
		return msn;
	}
	public void setMsn(String msn) {
		this.msn = msn;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAcademy() {
		return academy;
	}
	public void setAcademy(String academy) {
		this.academy = academy;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
}
